package cn.com.fattiger.singleton;

public class DCLSingleton {
	private static volatile DCLSingleton instance = null;
	private DCLSingleton(){}
	public static DCLSingleton getIntance(){
		if(instance == null){
			synchronized(DCLSingleton.class){
				if(instance == null){
					instance = new DCLSingleton();
				}
			}
		}	
		return instance;
	}
}
